#ifndef ITEMTYPE_H
#define ITEMTYPE_H

#include <QDataStream>
#include <QString>
#include <QVector>

class itemType
{
private:
    int dem;
    QVector<QString> field;

public:
    itemType( int dem = 0 );

    void setField( int n, const QString& str );
    QString getField( int n  );

    int getDeminition() { return dem; }
};

QDataStream& operator>>( QDataStream& in, itemType& item );
QDataStream& operator<<( QDataStream& out, itemType& item );

#endif // ITEMTYPE_H
